package com.service.impl;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.dao.InterviewDao;
import com.model.Interview;
import com.service.InterviewService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 面试表 服务实现类
 * </p>
 *
 * @author Damon
 * @since 2021-04-27
 */
@Service
public class InterviewServiceImpl extends ServiceImpl<InterviewDao, Interview> implements InterviewService {
    @Autowired(required = false)
    private InterviewDao interviewDao;

    public Page<Interview> listPage(Page page) {
        return interviewDao.listPage(page);
    }

    //分页
    public Page<Interview> listPage(Page page,Interview interview) {
        return interviewDao.listPage(page,interview);
    }
}
